<div class="modal_btn" style="display:none;" ng-init="queryModules()">
  <div class="btn_title_">
    <h1 class="">搜索</h1>
    <i class="glyphicon glyphicon-remove" style="display: inline-block;position: absolute;right: 10px;top: 14px;outline:none;" ng-click="close()"></i>
  </div>
  <md-content layout-padding>
      <md-button ng-click="close()" aria-label="button" class="md-primary" hide-gt-md>
        <i class="glyphicon glyphicon-remove"></i>
      </md-button>
      <div style="width:200px;">
        <md-autocomplete
            md-selected-item="obj.selectedItem"
            md-search-text-change="obj.searchTextChange(obj.searchText)"
            md-search-text="obj.searchText"
            md-selected-item-change="obj.selectedItemChange(item)"
            md-items="item in obj.querySearch(obj.searchText)"
            md-item-text="item.moduleName"
            md-min-length="0"
            placeholder="请输入要跳转的模块">
          <md-item-template>
            <span md-highlight-text="obj.searchText" md-highlight-flags="^i">{{item.moduleName}}</span>
          </md-item-template>
          <md-not-found style="z-index:2000;">
            没有找到"{{obj.searchText}}"模块
          </md-not-found>
        </md-autocomplete>
      </div>
      <md-button class="md-primary" ng-click="jumpPage(obj.searchText)"  style="position: absolute;top: 5px;right: 0;min-width:50px;background-color: rgb(255, 82, 82);color:#fff;box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.14), 0px 2px 2px 0px rgba(0, 0, 0, 0.098), 0px 1px 5px 0px rgba(0, 0, 0, 0.084);">
        跳转
      </md-button>
    </md-content>
</div>
<md-button class="md-icon-button md-primary menu_" id="menu_" aria-label="Settings" style="position: absolute;top: 90px;left: 0;z-index: 998;color: #fff;background-color:rgb(255,82,82);">
  <i class="glyphicon glyphicon-align-justify"></i>
</md-button>
<div style="height: 100%;display: flex;flex-flow: column;">
  <md-toolbar class="md-default-theme md-toolbar-height md-whiteframe-z1">
    <h2 class="md-toolbar-tools">
      <span style="background: url('images/logo.png') no-repeat;width:150px;height: 40px"></span>
      <label style="width:30px;"></label>
      <div id="scrollTabsContainer" style="width: calc(100% - 340px);">
        <button ng-click="scrollTabs('left')" class="glyphicon glyphicon-chevron-left"></button>
        <div id="scrollTabs">
          <span ng-show="roleInfo.moduleIds.indexOf(200000) !== -1" ng-click="navgit('span1')" ng-class="{true: 'active', false: ''}[isActive.span1]"><md-button
              ui-sref="sas.omdisplay" aria-label="运维展示">大数据
          </md-button></span>
          <span ng-show="roleInfo.moduleIds.indexOf(200100) !== -1"  ng-click="navgit('span6')" ng-class="{true: 'active', false: ''}[isActive.span6]"><md-button
              ui-sref="sas.alarmDataAnalysis" aria-label="告警数据分析">客户管理
          </md-button></span>
          <span ng-show="roleInfo.moduleIds.indexOf(200200) !== -1" ng-click="navgit('span7')" ng-class="{true: 'active', false: ''}[isActive.span7]"><md-button
          ui-sref="sas.workOrderData" aria-label="工单数据分析">斑马鉴真
          </md-button></span>
          <span ng-show="roleInfo.moduleIds.indexOf(200300) !== -1"  ng-click="navgit('span8')" ng-class="{true: 'active', false: ''}[isActive.span8]"><md-button
              ui-sref="sas.userBehaviorAnalysis" aria-label="用户行为指标分析">应用广场
          </md-button></span>
          <span ng-show="roleInfo.moduleIds.indexOf(200400) !== -1" ng-click="navgit('span4')" ng-class="{true: 'active', false: ''}[isActive.span4]"><md-button
                  ui-sref="sas.analysisSysOM" aria-label="系统运维分析">门店管理
          </md-button></span>
          <span ng-show="roleInfo.moduleIds.indexOf(200500) !== -1" ng-click="navgit('span5')" ng-class="{true: 'active', false: ''}[isActive.span5]"><md-button
              ui-sref="sas.dataQualityMng" aria-label="数据质量管理">基础设置
          </md-button></span>
          <span ng-show="roleInfo.moduleIds.indexOf(200800) !== -1" ng-click="navgit('span2')" ng-class="{true: 'active', false: ''}[isActive.span2]"><md-button
              ui-sref="sas.timeDataDis" aria-label="可视化数据展示">活动商城
          </md-button></span>
          <span ng-show="roleInfo.moduleIds.indexOf(200600) !== -1" ng-click="navgit('span3')" ng-class="{true: 'active', false: ''}[isActive.span3]"><md-button
                  ui-sref="sas.activity" aria-label="重大活动">重大活动页面定制
          </md-button></span>
        </div>
        <button ng-click="scrollTabs('right')" class="glyphicon glyphicon-chevron-right"></button>
      </div>
      <label style="width:20px;"></label>
      <span class="my-md-dropdown" ng-click="navgit('No!')">
        <md-button aria-label="{{realName}}">{{realName}}<span class="md-select-icon" aria-hidden="true"></span>
        </md-button>
        <ul class="md-whiteframe-z1">
          <li ng-show="roleInfo.moduleIds.indexOf(201200) !== -1"><md-button  ui-sref="sas.faultLocation" aria-label="故障定位">故障定位</md-button></li>
          <li ng-show="roleInfo.moduleIds.indexOf(200700) !== -1"><md-button  ui-sref="sas.oldOMDisplay" aria-label="运维数据展示">运维数据展示</md-button></li>
          <li ng-show="roleInfo.moduleIds.indexOf(201000) !== -1"><md-button  ui-sref="sas.resourcesWatchData" aria-label="运维数据展示">资源监控数据</md-button></li>
          <li ng-show="roleInfo.moduleIds.indexOf(201100) !== -1"><md-button ui-sref="sas.sysServiceData" aria-label="系统服务数据">系统服务数据</md-button></li>
           <li ng-show="roleInfo.moduleIds.indexOf(200900) !== -1"><md-button aria-label="系统管理" ui-sref="sas.userAll">系统管理</md-button></li>
          <li><md-button aria-label="退出登录" ng-click="logout()">退出登录</md-button></li>
        </ul>
      </span>
    </h2>
  </md-toolbar>
  <md-content class="md-content-height" ui-view="view" style="min-height: calc(100% - 64px);">

  </md-content>
</div>

